<template>
  <div class="modal-success">
    <div class="wrap" @touchmove.stop.prevent="stop">
        <div class="content">
          <div class="pic">
            <my-img class-name="success-img" src="success.gif"></my-img>
          </div>
          <slot></slot>
        </div>
    </div>
  </div>
</template>

<script>
  export default {
    name: "modal-success",
    methods:{
      stop(){}
    }
  }
</script>

<style lang="scss">
  .modal-success {
    .wrap{
      position: fixed;
      width: 100vw;
      height: 100vh;
      top: 0;
      background:rgba(0,0,0,0.7);
    }
    .content{
      width: upx(590);
      background: #fff;
      border-radius: upx(32);
      margin: upx(400) auto;
      text-align: center;
      border-top: upx(1) solid transparent;
    }
    .pic{
      width: upx(500);
      margin: upx(-220) auto 0;
    }
  }
</style>
